package cn.edu.cqupt.dao;

import java.util.List;

import cn.edu.cqupt.model.Comments;

public interface CommentsMapper {
    int deleteByPrimaryKey(String commentid);

    int insert(Comments record);

    int insertSelective(Comments record);

    Comments selectByPrimaryKey(String commentid);

    int updateByPrimaryKeySelective(Comments record);

    int updateByPrimaryKey(Comments record);

	List<Comments> selectallCommentsByheartwordid(String id);

	int deleteByheartwordid(String heartwordid);
}